\hypertarget{structwickr__stream__key}{}\section{wickr\+\_\+stream\+\_\+key Struct Reference}
\label{structwickr__stream__key}\index{wickr\_stream\_key@{wickr\_stream\_key}}


A data structure representing the stream encoding / decoding key material A stream key holds information about the key material used for cipher operations as well as it\textquotesingle{}s next evolution key and the number of packets this key should be used to encode or decode before evolution takes place.  




{\ttfamily \#include $<$stream\+\_\+key.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structwickr__cipher__key}{wickr\+\_\+cipher\+\_\+key\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__stream__key_a3d957a51193dda882cb89ced2ceeb91e}{cipher\+\_\+key}}
\item 
\mbox{\hyperlink{structwickr__buffer}{wickr\+\_\+buffer\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__stream__key_ae7210bd67e61cb4c38733a237dae95d9}{evolution\+\_\+key}}
\item 
\mbox{\hyperlink{structwickr__buffer}{wickr\+\_\+buffer\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__stream__key_a51e59da9f7fbb0b3e1332a20252d1cc6}{user\+\_\+data}}
\item 
uint32\+\_\+t \mbox{\hyperlink{structwickr__stream__key_a78777e4c64048b6dae38f8772744194e}{packets\+\_\+per\+\_\+evolution}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A data structure representing the stream encoding / decoding key material A stream key holds information about the key material used for cipher operations as well as it\textquotesingle{}s next evolution key and the number of packets this key should be used to encode or decode before evolution takes place. 

\subsection{Field Documentation}
\mbox{\Hypertarget{structwickr__stream__key_a3d957a51193dda882cb89ced2ceeb91e}\label{structwickr__stream__key_a3d957a51193dda882cb89ced2ceeb91e}} 
\index{wickr\_stream\_key@{wickr\_stream\_key}!cipher\_key@{cipher\_key}}
\index{cipher\_key@{cipher\_key}!wickr\_stream\_key@{wickr\_stream\_key}}
\subsubsection{\texorpdfstring{cipher\_key}{cipher\_key}}
{\footnotesize\ttfamily wickr\+\_\+stream\+\_\+key\+::cipher\+\_\+key}

key used to encrypt or decrypt packets when the key is used for cipher operations \mbox{\Hypertarget{structwickr__stream__key_ae7210bd67e61cb4c38733a237dae95d9}\label{structwickr__stream__key_ae7210bd67e61cb4c38733a237dae95d9}} 
\index{wickr\_stream\_key@{wickr\_stream\_key}!evolution\_key@{evolution\_key}}
\index{evolution\_key@{evolution\_key}!wickr\_stream\_key@{wickr\_stream\_key}}
\subsubsection{\texorpdfstring{evolution\_key}{evolution\_key}}
{\footnotesize\ttfamily wickr\+\_\+stream\+\_\+key\+::evolution\+\_\+key}

data to be used to help evolove the key when \textquotesingle{}cipher\+\_\+key\textquotesingle{} is used \textquotesingle{}packets\+\_\+per\+\_\+evolution\textquotesingle{} times \mbox{\Hypertarget{structwickr__stream__key_a78777e4c64048b6dae38f8772744194e}\label{structwickr__stream__key_a78777e4c64048b6dae38f8772744194e}} 
\index{wickr\_stream\_key@{wickr\_stream\_key}!packets\_per\_evolution@{packets\_per\_evolution}}
\index{packets\_per\_evolution@{packets\_per\_evolution}!wickr\_stream\_key@{wickr\_stream\_key}}
\subsubsection{\texorpdfstring{packets\_per\_evolution}{packets\_per\_evolution}}
{\footnotesize\ttfamily wickr\+\_\+stream\+\_\+key\+::packets\+\_\+per\+\_\+evolution}

number of packets this key should be used before it is evoloved using \textquotesingle{}evolution\+\_\+key\textquotesingle{} \mbox{\Hypertarget{structwickr__stream__key_a51e59da9f7fbb0b3e1332a20252d1cc6}\label{structwickr__stream__key_a51e59da9f7fbb0b3e1332a20252d1cc6}} 
\index{wickr\_stream\_key@{wickr\_stream\_key}!user\_data@{user\_data}}
\index{user\_data@{user\_data}!wickr\_stream\_key@{wickr\_stream\_key}}
\subsubsection{\texorpdfstring{user\_data}{user\_data}}
{\footnotesize\ttfamily wickr\+\_\+stream\+\_\+key\+::user\+\_\+data}

user provided data to assoiciate with the key 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/stream\+\_\+key.\+h\end{DoxyCompactItemize}
